import { Tools } from 'weaver-mobile';

//获取流程条数
export const getOdocReportCountData = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocReport/getOdocReportCountData',  method:'POST', params});
}
//获取流程统计echart数据
export const getOdocReportEchartData = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocReport/getOdocReportEchartData',  method:'POST', params});
}
//获取公文统计echart数据
export const getOdocDocReportEchartData = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocDocReport/getOdocDocReportEchartData',  method:'POST', params});
}
//获取公文流程拟办排名
export const getOdocReportEchartDetailList = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocReport/getOdocReportEchartDetailList',  method:'POST', params});
}
//获取公文统计condtions
export const getOdocReportSearchCondition = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocReport/getOdocReportSearchConditionMobile',  method:'POST', params});
}
//获取用户部门id
export const getUserId = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocCenter/odocGetUserId',  method:'POST', params});
}